package com.jkoss.wine.weekly.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 周报
 * 
 * @Author Jason
 * @Version 1.0, 2018-12-05
 * @See
 * @Since com.jkoss.wine.weekly.entity
 * @Description: TODO
 */
public class Weekly extends Model<Weekly> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId("id")
	private String id;
	/**
	 * 部门id
	 */
	@TableField("dmid")
	private String dmid;
	/**
	 * 职位id
	 */
	@TableField("rid")
	private String rid;
	/**
	 * 制表人
	 */
	@TableField("meid")
	private String meid;
	/**
	 * 制表时间
	 */
	@Excel(name = "制表时间", orderNum = "2", format = "yyyy-MM-dd", width = 30)
	@TableField("tltm")
	private Date tltm;
	/**
	 * 已完成
	 */
	@Excel(name = "本周工作总结-已完成", orderNum = "3", width = 30)
	@TableField("cpld")
	private String cpld;
	/**
	 * 未完成
	 */
	@Excel(name = "本周工作总结-未完成", orderNum = "4", width = 30)
	@TableField("unfs")
	private String unfs;
	/**
	 * 重点工作
	 */
	@Excel(name = "下周工作计划-重点工作", orderNum = "5", width = 30)
	@TableField("focus")
	private String focus;
	/**
	 * 需要配合的工作
	 */
	@Excel(name = "下周工作计划-需要配合的工作", orderNum = "6", width = 30)
	@TableField("coor")
	private String coor;
	/**
	 * 其他工作
	 */
	@Excel(name = "下周工作计划-其他工作", orderNum = "7", width = 30)
	@TableField("othr")
	private String othr;
	/**
	 * 备注
	 */
	@Excel(name = "备注", orderNum = "8", width = 30)
	@TableField("remk")
	private String remk;
	/**
	 * 当操作人为null时，表示自动录入
	 */
	@TableField("operator")
	private String operator;
	/**
	 * 添加时间
	 */
	@TableField("add_time")
	private Date addTime;
	/**
	 * 是否删除：0-未删除、1-已删除、2-不能删除
	 */
	@TableField("del")
	private Integer del;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDmid() {
		return dmid;
	}

	public void setDmid(String dmid) {
		this.dmid = dmid;
	}

	public String getMeid() {
		return meid;
	}

	public void setMeid(String meid) {
		this.meid = meid;
	}

	public Date getTltm() {
		return tltm;
	}

	public void setTltm(Date tltm) {
		this.tltm = tltm;
	}

	public String getCpld() {
		return cpld;
	}

	public void setCpld(String cpld) {
		this.cpld = cpld;
	}

	public String getUnfs() {
		return unfs;
	}

	public void setUnfs(String unfs) {
		this.unfs = unfs;
	}

	public String getFocus() {
		return focus;
	}

	public void setFocus(String focus) {
		this.focus = focus;
	}

	public String getCoor() {
		return coor;
	}

	public void setCoor(String coor) {
		this.coor = coor;
	}

	public String getOthr() {
		return othr;
	}

	public void setOthr(String othr) {
		this.othr = othr;
	}

	public String getRemk() {
		return remk;
	}

	public void setRemk(String remk) {
		this.remk = remk;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getRid() {
		return rid;
	}

	public void setRid(String rid) {
		this.rid = rid;
	}

	@Override
	public String toString() {
		return "Weekly{" + ", id=" + id + ", dmid=" + dmid + ", meid=" + meid + ", tltm=" + tltm + ", cpld=" + cpld + ", unfs=" + unfs + ", focus=" + focus + ", coor=" + coor + ", othr=" + othr + ", remk=" + remk + ", operator=" + operator + ", addTime=" + addTime + ", del=" + del + "}";
	}
}
